package com.bristua.barcode.customer.dao;

import com.bristua.barcode.customer.model.TRechargeRecord;
import com.bristua.barcode.customer.model.condition.TRechargeRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TRechargeRecordMapper {
    int countByExample(TRechargeRecordExample example);

    int deleteByExample(TRechargeRecordExample example);

    int deleteByPrimaryKey(String rechargeId);

    int insert(TRechargeRecord record);

    int insertSelective(TRechargeRecord record);

    List<TRechargeRecord> selectByExample(TRechargeRecordExample example);

    TRechargeRecord selectByPrimaryKey(String rechargeId);

    int updateByExampleSelective(@Param("record") TRechargeRecord record, @Param("example") TRechargeRecordExample example);

    int updateByExample(@Param("record") TRechargeRecord record, @Param("example") TRechargeRecordExample example);

    int updateByPrimaryKeySelective(TRechargeRecord record);

    int updateByPrimaryKey(TRechargeRecord record);
}